home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 051-075 / disk_069 / spool / makefile < prev    next >
Makefile  |  1992-05-06  |  2KB  |  67 lines

  1. # makefile for SPOOLer
  2.  
  3. #
  4. #    11/19/86, by Tim Holloway.  This is the Makefile for the
  5. #    multi-printer SPOOLing system featured in Ami Project magazine
  6. #    Vol I, issue 5.
  7. #
  8. #    (C) 1986, by Tim Holloway.  Permission is hereby granted to
  9. #    freely distribute this system for non-commercial use, providing
  10. #    the copyright notices and credit to the author are retained.
  11. #    The right for any other person or company to in any way modify
  12. #    or restrict this copyright is NOT allowed.
  13. #
  14.  
  15. # ==== to startup the SPOOLing system, EXECUTE SPOOL.go ===
  16. # ==== to queue file[s] to the printer, use the SPOOL command.
  17.  
  18.  
  19. #    Macros.  User must adapt as appropriate
  20.  
  21. H = spool.h
  22. CC = execute cc
  23. LK = execute link
  24. ARC = Utilities:c/arc
  25. ARCFILE = RAM:Spool
  26.  
  27. SRC = spool.c spooler.c prtspool.c login.cx dates.c gripe.c SPOOL.go read-me pathname.c
  28.  
  29. all : spooler spool prtspool nocrud
  30.  
  31. spooler : spooler.o gripe.o
  32.     $(LK) spooler spooler.o gripe.o
  33.  
  34. spooler.o : $H spooler.c
  35.     $(CC) spooler
  36.  
  37.  
  38. spool : spool.o pathname.o
  39.     $(LK) spool spool.o pathname.o
  40.  
  41. pathname.o : pathname.c
  42.     $(CC) pathname
  43.  
  44. spool.o : $H login.cx spool.c
  45.     $(CC) spool
  46.  
  47. prtspool : prtspool.o dates.o gripe.o
  48.     $(LK) prtspool prtspool.o dates.o gripe.o
  49.  
  50. prtspool.o : $H login.cx prtspool.c
  51.     $(CC) prtspool
  52.  
  53. gripe.o : gripe.c
  54.     $(CC) gripe
  55.  
  56. dates.o : dates.c
  57.     $(CC) dates
  58.  
  59. # my CC execute file tells the linker not to link by creating a dummy
  60. # file if a compile fails
  61.  
  62. nocrud : 
  63.     delete ram:crud    # my CC execute files tell the linker not to link
  64.  
  65. backup :
  66.     $(ARC) a $(ARCFILE) $H makefile $(SRC) spool spooler prtspool
  67.